package com.nintendo.bubblechat.service;

import com.nintendo.bubblechat.entity.pojo.FriendsRequest;
import com.nintendo.bubblechat.entity.dto.GroupChatDTO;
import com.nintendo.bubblechat.entity.pojo.GroupChat;
import com.nintendo.bubblechat.entity.pojo.GroupChatMsg;
import com.nintendo.bubblechat.entity.vo.UsersVo;

import java.util.List;

public interface FriendRequestService {
    void saveRequest(FriendsRequest friendRequest);

    List<UsersVo> findRequest(String acceptUserId);

    void ignore(FriendsRequest request);

    void pass(FriendsRequest request);

    List<UsersVo> findMyFriends(String myUserId);

    void createGroup(GroupChatDTO groupChatDTO);

    List<GroupChat> findMyGroupAndIn(String myId);

    List<UsersVo> getGroupMembers(String groupId);

    String saveGroupChatMsg(GroupChatMsg groupChatMsg);

    List<GroupChat> getGroupInfo(String groupId);

}
